<?php
declare (strict_types=1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Hot_update extends Model
{
    //更新
    public static function hotUpdate($params)
    {
        return Hot_update::update(['hot'=>$params,'id'=>1]);
    }
    //查询
    public static function getHotUpdate(){
        return Hot_update::where('id',1)->find();
    }
}
